package com.z6school.manage.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**课程表*/
@Data
@Accessors(chain = true)
@TableName("curriculum")
public class Curriculum implements Serializable {
    private static final long serialVersionUID = -9098496231753632124L;
    /**课程ID*/
    @TableId(type = IdType.AUTO)
    private Integer id;
    /**课程名称*/
    private String name;
    /**学分*/
    private Double credit;
    /**学时*/
    private Double hours;
    /**状态*/
    private String state;
    /**必修选修*/
    private String type;
    /**最大人数*/
    private Integer maxPer;
    /**课程类型*/
    private String classType;
}
